using System.Collections.Generic;
using Drill.Configuration;
using Drill.Core;

namespace Drill.Extensibility
{
	/// <summary>
	/// Implemented by classes that provide data and utilities to 
	/// dependency resolver prociders during initialization.
	/// </summary>
	public interface IDrillBitInitContext
	{
		/// <summary>
		/// Gets the name of the DrillBit instance.
		/// </summary>
		/// <value>The name of the DrillBit instance.</value>
		string Name { get; }

		/// <summary>
		/// Gets the list of configuration sources that the DrillBit 
		/// uses during initialization to configure itself.
		/// </summary>
		/// <value>
		/// The list of configuration sources that the DrillBit 
		/// uses during initialization to configure itself.
		/// </value>
		IList<IConfigurationSource> ConfigurationSources { get; }

		/// <summary>
		/// Gets the configuration helper that can be used to locate and load configuration files.
		/// </summary>
		/// <value>
		/// The configuration helper.
		/// </value>
		IConfigurationHelper ConfigurationHelper { get; }
	}
}